/*
 * Header.java
 *
 * Created on 8 październik 2007, 21:27
 *
 */

package kosciak.blip4j.utils.http;

/**
 * <code>Header</code> represents header fields for HTTP reponse and request.
 * @author Wojtek 'KosciaK' Pietrzok
 * @since 0.1
 */
public class Header {
    
    private String key;
    private String value;
    
    /**
     * Creates a new instance of Header
     * @param key the name of a Header
     * @param value the value of a Header
     */
    public Header(String key, String value) {
        this.key = key;
        this.value = value;
    }

    /**
     * Gets the name of a Header
     * @return a name of a Header
     */
    public String getKey() {
        return key;
    }

    /**
     * Gets the value of a Header
     * @return a value of a Header
     */
    public String getValue() {
        return value;
    }
    

}
